/**
 * 小程序配置文件
 */

// 本地地址
// var host = "http://192.168.1.156:8888/reading/api/";
// 测试地址
// var host = "http://mini.kaililaw.com/reading/api/";
// 线上地址
var host = "https://mini.kaililaw.com/reading/api/";
//var host = "http://192.168.1.85:8888/reading/api/";
var hosts = "http://irobot.pluslegal.cn/api/";//机器人测试地址
//var hosts = "https://jiqiren.pluslegal.cn/api/";//机器人测试地址
var config = {

  //用户模块
  //登陆
  login: `${host}user/login`,
  //注册
  reg: `${host}user/userinfo`,
  //未结束活动
  nonended: `${host}conference/conferences/nonended`,
  //活动列表
  conferences: `${host}conference/conferences`,
  //创建共读房间
  createMeeting: `${host}meeting/meeting`,
  //房间列表
  meetings: `${host}meeting/meetings`,
  //上传音频
  finished: `${host}finished/finished`,
  //参与记录
  personal: `${host}personal/readings`,
  //个人统计
  statistic: `${host}personal/statistic`,
 //民法典
  getCivilCategory:`${hosts}civilCode/getCategory`,
  getCivilList:`${hosts}civilCode/getContent`,
//常见问题
getCommonlist:`${host}question/common/list`,
//快问快答
getquicklylist:`${host}question/list`,
//获取详情
getdetails:`${host}question/getQuestionById`,
//民法典之星
gettotal:`${host}ranking/getRankingAll`,
getyears:`${host}ranking/getRankingByYear`,
//添加模块记录
addranking:`${host}ranking/addRanking`,
//公开课
openClass:`${host}openClass/list`,
//日历
calendar:`${host}calendar/data`,
//banner
getbanner:`${host}banner/getBannerByLocation`,

};

module.exports = config